package utils;

import java.io.Serializable;
import java.util.HashMap;



public class UserData implements Serializable, PropertiesMap {

	
	private static final long serialVersionUID = -1023822965519598587L;

	private HashMap<String, Object> properties = new HashMap<String, Object>();

	
	public UserData () {
	}
	

	@Override
	public void putProperty (String propertyName, Object value) {
		properties.put(propertyName, value);
	}
	
	
	@Override
	public Object getProperty (String propertyName) {
		return properties.get(propertyName);
	}
	
	
	@Override
	public void purgeProperty (String propertyName) {
		properties.remove(propertyName);
	}
}
